#pragma once

#include <QWidget>
#include "ui_EmotionWindow.h"
#include "EmotionLabel.h"

class EmotionWindow : public QWidget
{
	Q_OBJECT

public:
	EmotionWindow(QWidget *parent = Q_NULLPTR);
	~EmotionWindow();

private:
	void initControl();
	EmotionLabel* initEmoLabel(int emotionName);

protected:
	void paintEvent(QPaintEvent* event) override;

private:
	Ui::EmotionWindow ui;
	const int rowCount = 12;
	const int colCount = 14;

signals:
	void addEmotion(int emotionName);

};
